package com.cj.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cj.order.entity.Order;

/**
 * @Author cheng jun
 * @Description:
 * @Date 2021/7/25 15:29
 */
public interface OrderService extends IService<Order> {

    /**
     * 下单
     * @param order
     * @return
     */
    boolean placeOrder(Order order);

    /**
     * 支付
     * @param order
     * @return
     */
    boolean pay(Order order);
}
